<div class="col-md-6 content" ng-controller="groupListCtrl">
	<h2>用户分组</h2>
	<br>
	<div class="row col-md-12">
		<table class="table table-bordered">
			<thead>
				<tr>
					<th>组名</th>
					<th>描述</th>
					<th>创建时间</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
				<tr ng-repeat="group in groups">
					<td>{{ group.g_name }}</td>
					<td>test</td>
					<td>{{ group.create_time*1000 | date:'yyyy-MM-dd HH:mm:ss'}}</td>
					<td>
						<a href="#" ui-sref="/admin.group_sm({id:group._id})">查看</a>
						|
						<a href="" ng-click="del(group, $event)">删除</a>
					</td>
				</tr>
			</tbody>
		</table>
	</div>

	<a href="#" class="btn btn-primary" ui-sref="/admin.group_manage">添加组</a>
</div>